package com.amoyt.project.mapper;

import com.amoyt.project.domain.pojo.ProjectApproval;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 项目审批主表（存储申请信息） Mapper 接口
 * </p>
 *
 * @author AmoyT
 * @since 2025-08-24
 */
@Mapper
public interface ProjectApprovalMapper extends BaseMapper<ProjectApproval> {

    /**
     * 批量删除  并且是自己申请的才行
     *
     * @param ids
     * @param userId
     */
    void deleteList(List<String> ids, @Param("userId") String userId);
}
